Implemented POST /login.