Fix bug 890557 - Handle new way of no user found with loginapi