Rename authentication route, test redirectToLogin

Renamed AuthenttionRoute to AuthenticatedRoute. Added tests for the
redirectToLogin function. Remove comments from application.js.