Fixed crash with /login command