Added support for any port with http://localhost redirect uri