Turned on authentication when username and password aren't null.
Added support for automated code reviews.