Fix for multiple url schemes when adn scheme is not the last object

I usually have a URL Scheme for the app and then for Passport there is a special one for authentication which may not be the last item in the list as this code was assuming. This change will allow for multiple URL Schemes with the first one with "adn" as the prefix to be used.