Fix login form broken in commit 2a08d792.

+ Does not fix the signup form. Will be refactored later.
Merge branch 'bugfix/authenticationForm' into prototype