POST /login implementation.