Avoid referencing rootProject for compatibility with login-server gradle build

If rootProject is used, it refers to the login server when building the uaa within the login-server.
Using parent or parent.parent allows a more explicit definition