Session manager modified to catch all requests. Login redirect fix