Horrible hack to add Basic Auth support