Minor updates in 401 handling and VOMS