issue-13 fix the issue of being able to log in with just username after logout

Clear the authData from the scope and set the loginForm pristine after login attempt
Closes #13