Login now works correctly.