Fix #15 : Make login and logout redirecting to HTTP Referer