Full login/logout cycle