Truncate username to 30 characters.
Authenticate using password provided in form
Fix post login redirect