Fix user locator adapter used in login view.