Switched twLoginURL to https as required