Move simple redirect_uri comparison to client function.