Add fragment identifier to query string convertor for vk.com endpoint.
Geting port from query.
Remove '/vk' from localhost redirect url.