local login/logout and authorize check ok