there's no need to try casting response_type to string as it is already a string from client
no need to use orm when testing grant_flows configuration.
simplify let(:server)