Get login form working with test domain