Fixing the redirect to login screen for unauthenticated session.
Merge branch 'master' into gh-pages