- fixed authenticaion after server shuts down and session is cleared