uriInfo getRequestUri

use of 
getRequestUri
instead of 
getBaseUri

in the hope (untested, sorry) that this will respect login requests from https sites