if connection exists dont modify it, if not call get_connection function with username set to auth_user, password set to auth_password, fail_silently set to fail_silently as arguments, assign it to connection.
connection = connection or get_connection ( username = auth_user , password = auth_password , fail_silently = fail_silently )