Updating to better ignore requests for favicon.ico and to redirect requests for login if the user is already authenticated.