Use of undefined constant AUTH_COOKIE - assumed 'AUTH_COOKIE' in /var/www/wp/wp-includes/p

Hi I have a simple (default) multi site wordpress install.
Whenever I install wpmudev I get the following error.

Use of undefined constant AUTH_COOKIE - assumed 'AUTH_COOKIE' in /var/www/wp/wp-includes/pluggable.

The stacktrace points to wp_get_current_user call. Any idea on how to fix this

Will

--------

#0 wp_parse_auth_cookie(, ) called at [/var/www/wp/wp-includes/pluggable.php:587] #1 wp_validate_auth_cookie() #2 call_user_func_array(wp_validate_auth_cookie, Array ([0] => )) called at [/var/www/wp/wp-includes/class-wp-hook.php:298] #3 WP_Hook->apply_filters(, Array ([0] => )) called at [/var/www/wp/wp-includes/plugin.php:203] #4 apply_filters(determine_current_user, ) called at [/var/www/wp/wp-includes/user.php:2526] #5 _wp_get_current_user() called at [/var/www/wp/wp-includes/pluggable.php:70] #6 wp_get_current_user() called at [/var/www/wp/wp-includes/l10n.php:92] #7 get_user_locale() called at [/var/www/wp/wp-includes/l10n.php:917] #8 _get_path_to_translation_from_lang_dir(wpmudev) called at [/var/www/wp/wp-includes/l10n.php:879] #9 _get_path_to_translation(wpmudev) called at [/var/www/wp/wp-includes/l10n.php:849] #10 _load_textdomain_just_in_time(wpmudev) called at [/var/www/wp/wp-includes/l10n.php:947] #11 get_translations_for_domain(wpmudev) called at [/var/www/wp/wp-includes/l10n.php:122] #12 translate(Nothing found, wpmudev) called at [/var/www/wp/wp-includes/l10n.php:202] #13 __(Nothing found, wpmudev) called at [/var/www/wp/wp-content/plugins/wpmudev/shared-ui/plugin-ui.php:48] #14 WDEV_Plugin_Ui::reset() called at [/var/www/wp/wp-content/plugins/wpmudev/shared-ui/plugin-ui.php:312] #15 require_once(/var/www/wp/wp-content/plugins/wpmudev/shared-ui/plugin-ui.php) called at [/var/www/wp/wp-content/plugins/wpmudev/update-notifications.php:132] #16 WPMUDEV_Dashboard->__construct() called at [/var/www/wp/wp-content/plugins/wpmudev/update-notifications.php:117] #17 WPMUDEV_Dashboard::instance() called at [/var/www/wp/wp-content/plugins/wpmudev/update-notifications.php:212] #18 include_once(/var/www/wp/wp-content/plugins/wpmudev/update-notifications.php) called at [/var/www/wp/wp-settings.php:269] #19 require_once(/var/www/wp/wp-settings.php) called at [/var/www/wp/wp-config.php:101] #20 require_once(/var/www/wp/wp-config.php) called at [/var/www/wp/wp-load.php:37] #21 require_once(/var/www/wp/wp-load.php) called at [/var/www/wp/wp-admin/admin.php:31] #22 require_once(/var/www/wp/wp-admin/admin.php) called at [/var/www/wp/wp-admin/network/admin.php:13] #0 wp_parse_auth_cookie(, ) called at [/var/www/wp/wp-includes/pluggable.php:587] #1 wp_validate_auth_cookie(, ) called at [/var/www/wp/wp-includes/pluggable.php:993] #2 auth_redirect() called at [/var/www/wp/wp-admin/admin.php:84] #3 require_once(/var/www/wp/wp-admin/admin.php) called at [/var/www/wp/wp-admin/network/admin.php:13]