Moved authentication logic views and templates to authentication app.