Fix login when not located on server root