added ssl also to bearer token