Use datetime.utcnow() when constructing expiration time for policy.
Fixed bug when generating form action url and storage location is empty.