Form fix for login elements

addresses #352