Adding regex based auth handeling
updated teh different DEFAULT_ prefixes