400 Error for login API instead of checking header parameters

1 out of 2