fix AccessError's name

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
improve POST data validation

Signed-off-by: Jan Dvořák <mordae@anilinux.org>