Fix for authenticating users into a user directory when no current user