Fixed bug when no auth/session is loaded