Added processing to redirect to login page when user is not logged in and uses a direct link to dashboard, create a new database, etc.  Fixes #4104.