Fixes to login forms