Login view now sends properly encoded username password and fixed
Authentication class to properly authenticate.