added support for using non absolute callback urls. if the server is accessible from multiple domains, it will dynamically build the callback url and redirect back to the correct host.