Fix misc authentication handling
Fix and clean up sources route