Update connection.php

Check against encrypted password