Change error code throw for "invalid_refresh" and "invalid_credentials"