Moves the authentication window to the util package and removes any dependency to the protocol service and security authority.