Fix using password instead of username as login