401 seems more appropriate to indicate an expired session
Merge remote-tracking branch 'upstream/stable5' into fix_response_code_ampache
Merge pull request #1182 from sezuan/fix_response_code_ampache

better amapche HTTP return codes for expired sessions.