Return HTTP status 400 if error occurred
Initial tests for Authorization Code flow