Make sure cache is instantiated before creating current user
Merge pull request #22 from FelixOnline/fix_logged_in_cache_error

Make sure cache is instantiated before creating current user