Test fix for user login