Bug fix to fallback authentication when the user details are minimal