Improve non-logged-in users handling. 

Redirect non-logged-in user to the login page, instead of throwing a HTTP Exception.