fix missing Authorization header on login

Fix response code for missing Authorization header on login operations