Allow passing empty string for username and password parameters