400 Error for login API instead of checking header parameters